package org.jeecg.glr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.glr.entity.GlrPatternGateway;

import java.util.List;

/**
 * @Description: 网关模式关联表
 * @Author: jeecg-boot
 * @Date:   2020-03-10
 * @Version: V1.0
 */
public interface GlrPatternGatewayMapper extends BaseMapper<GlrPatternGateway> {


    @Select("select gate_way_code from glr_pattern_gateway where pattern_id=#{patternId} and type=#{type}")
    public List<String> getPatternByGateWayCode(@Param("patternId") String patternId,@Param("type") String type);

}
